package com.kwum.excel;

import java.io.File;
import java.util.ArrayList;

public class ExcelDemo {

    public static void main(String[] args) throws Exception {  
		File file = new File("F:/Topbuzz总表.xlsx");  
	    ArrayList<ArrayList<Object>> result = ExcelUtils.readExcel(file);  
	    int count = 0;
	    for(int i = 350 ; i < 400; i++){
	        System.out.println(result.get(i).get(0).toString() + "                "+ result.get(i).get(1).toString()
	        		+ "                "+ result.get(i).get(2).toString());  
	        System.out.println( ++count );
	        MySQLUtils.insertAccount(result.get(i).get(1).toString(), result.get(i).get(2).toString(), result.get(i).get(0).toString(), 8);
	    }  
	    
	    
	    
	    
//	    ExcelUtils.writeExcel(result, "F:/111.xlsx");
    }
}
